package cn.wolfcode.trip.base.domain;

import lombok.*;

import java.util.Date;

/**
 * @author Wangyk
 * @date 2019/1/13 23:17
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ShowBean {
    //兼容travel和图片分享
    public static final Integer TYPE_TRAVEL = 1; // 游记类型动态 travel
    public static final Integer TYPE_PICTURE = 2;// 照片类型动态 pictureShare

    private Long id;     //无意义,解决mybatis封装bug

    private User author; //分享用户

    private Integer type = TYPE_TRAVEL; //分享类型

    private Object showDetail; //分享详情

    private Date releaseTime; //分享时间

}